<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>选择器</title>
  <style>


    #apple{
      color: #0bf700;
    }

    .d1{
      color: #1b89d4;
    }

    a,#apple,.d1{
      background: #ff00f2;
    }
    input[type = 'text']{background: red}
    input[type = 'password']{background: green}
    *{
      border: 1px solid green;

      /*background: aqua;*/
    }

  </style>
</head>
<body>
<input type="text">
<input type="password"><br>
<a href="asfaf">超链接</a>
<p id="apple">苹果</p>
<p>香蕉</p>
<p class="d1">橘子</p>
<div>电视</div>
<div>冰箱</div>
<div class="d1">洗衣机</div>
</body>
</html>